package com.heima.pojo.vo;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 商品实体类 (对应 tb_sku 表)
 *
 * @author 自动生成
 */
@Data
public class SkuVo implements Serializable {
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long skuId;
    private String skuName;
    private String skuImage;
    private Integer price;
    private Integer classId;
    private Boolean isDiscount;
    private String unit;
    private String brandName;
    private String className;
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private LocalDateTime createTime;
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private LocalDateTime updateTime;

    private SkuClassVo skuClass;


}